<%-- 布局 --%>
<%@ page language="java" contentType="text/html;charset=UTF-8" isELIgnored="false"%>
<%@ include file="/commons/global.jsp" %>
<!DOCTYPE html>
<html class="no-js" lang="zh_CN">
<head>
    <%--通用head --%>
    <%@ include file="/commons/include/_head.jsp" %>
    <%--重写的head --%>
    <layout:block name="head"></layout:block>
</head>
<body>
    <div class="main-container">
        <div class="container">
            <header class="main-header">
                <div id="header">
                    <h1 id="logo">
                        <a href="http://demo.mythemeshop.com/diary">Diary</a>
                    </h1>
                </div>
            </header>
            <div class="content">
                <%--主体部分 --%>
                <layout:block name="content"></layout:block>
            </div>
            <footer>
                <div class="container">
                    <div class="copyrights">
                        <div class="row" id="copyright-note">
                            <span><a href="http://demo.mythemeshop.com/diary/" title="Just another MyThemeShop Playground site" rel="nofollow">Diary</a> Copyright © 2014. Theme by <a href="http://mythemeshop.com/" target="_blank">MyThemeShop</a>.</span>
                            <div class="top">
                                <a href="#top" class="toplink">返回顶部 &uarr;</a>
                            </div>
                        </div>
                    </div>
                </div>
            </footer>
        </div>
        <!-- 左边 侧边栏 -->
        <%@ include file="/commons/include/_left-sidebar.jsp" %>
    </div>
</body>
<%--脚本部分--%>
<%@ include file="/commons/include/_javascript.jsp" %>
<layout:block name="script"></layout:block>
</html>